package com.mini.service.impl;

import com.mini.bean.Leaves;
import com.mini.dao.LeavesMapper;
import com.mini.service.LeavesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LeavesServiceImp implements LeavesService {

    @Autowired
    private LeavesMapper leavesMapper;

    @Override
    public int insertLeaves(Leaves leaves) {

        return leavesMapper.insertLeaves(leaves);
    }
}
